package org.wang.pattern.behavior.observer;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		ObservableImpl observable = new ObservableImpl();
		
		Observer oa = new ObserverImplA();
		Observer ob = new ObserverImplB();
		Observer oc = new ObserverImplC();
		
		observable.addObserver(oa);
		observable.addObserver(ob);
		observable.addObserver(oc);
		
		observable.obsermethod();
	}

}
